package com.gof.example.singleton.iodh;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/1 21:08.
 * haiming.fei@tongdun.cn
 */
public class LoadBalancer {

    private LoadBalancer() {
        //no instance
    }

    public static LoadBalancer getInstance() {
        return LoadBalancerHolder.loadBalancer;
    }

    private static class LoadBalancerHolder {
        private static LoadBalancer loadBalancer = new LoadBalancer();
    }
}
